package com.wish.g04.house.service;

import com.wish.g04.base.entity.ConfigPremisesProperty;
import com.wish.g04.base.entity.PremisesInfo;
import com.wish.g04.base.entity.Region;
import com.wish.g04.common.core.web.domain.AjaxResult;
import com.wish.g04.common.core.web.page.TableDataInfo;
import com.wish.g04.house.dto.PremisesInfoDto;
import com.wish.g04.system.api.domain.DictData;

import java.util.List;

public interface TbPremisesInfoService {

    TableDataInfo getList(PremisesInfoDto tbPremisesInfoDto);

    List<Region> getRegion(Integer parentId);

    List<DictData> getDictDataByType(String dictType);

    TableDataInfo getTableDataInfo(List<PremisesInfo> list);

    void save(PremisesInfoDto premisesInfoDto);

    List<ConfigPremisesProperty> getPremisesProperty();

    AjaxResult getInfo(Long id);
}
